package com.vincent.template.dto.sys.bind;

import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author Vincent Wang
 * @date 2021/3/22 22:20
 */
public class BindUserGroupRoleDto {

    @ApiModelProperty(value = "用户组ID")
    @NotNull
    private Long userGroupId;

    @ApiModelProperty(value = "角色ID列表")
    @NotEmpty
    private List<Long> roleIds;

    public Long getUserGroupId() {
        return userGroupId;
    }

    public void setUserGroupId(Long userGroupId) {
        this.userGroupId = userGroupId;
    }

    public List<Long> getRoleIds() {
        return roleIds;
    }

    public void setRoleIds(List<Long> roleIds) {
        this.roleIds = roleIds;
    }
}
